package com.eight.cloud.client.service.subscribe;

/**
 * 微信退款通知订阅
 *
 * @ClassName: WxRefundSubscribe
 * @Author: TXC
 * @Date: 2024-12-09 16:41
 **/
public class WxRefundSubscribe implements SubscribeObject {
    public static final String WX_PAYMENT_TOPIC = "/user/message/refund";
    public SubscribeHandler subscribeHandler;

    public WxRefundSubscribe(SubscribeHandler subscribeHandler) {
        this.subscribeHandler = subscribeHandler;
    }

    @Override
    public String getTopic() {
        return WX_PAYMENT_TOPIC;
    }

    @Override
    public SubscribeHandler getSubscribeHandler() {
        return this.subscribeHandler;
    }
}